{
  "type": "File",
  "start": 0,
  "end": 46,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 1,
      "column": 46
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 46,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 1,
        "column": 46
      }
    },
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "ClassDeclaration",
        "start": 0,
        "end": 46,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 46
          }
        },
        "id": {
          "type": "Identifier",
          "start": 6,
          "end": 9,
          "loc": {
            "start": {
              "line": 1,
              "column": 6
            },
            "end": {
              "line": 1,
              "column": 9
            },
            "identifierName": "Foo"
          },
          "name": "Foo"
        },
        "typeParameters": {
          "type": "TypeParameterDeclaration",
          "start": 9,
          "end": 12,
          "loc": {
            "start": {
              "line": 1,
              "column": 9
            },
            "end": {
              "line": 1,
              "column": 12
            }
          },
          "params": [
            {
              "type": "TypeParameter",
              "start": 10,
              "end": 11,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 10
                },
                "end": {
                  "line": 1,
                  "column": 11
                }
              },
              "name": "T",
              "variance": null
            }
          ]
        },
        "superClass": null,
        "body": {
          "type": "ClassBody",
          "start": 13,
          "end": 46,
          "loc": {
            "start": {
              "line": 1,
              "column": 13
            },
            "end": {
              "line": 1,
              "column": 46
            }
          },
          "body": [
            {
              "type": "ClassMethod",
              "start": 15,
              "end": 45,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 15
                },
                "end": {
                  "line": 1,
                  "column": 45
                }
              },
              "static": false,
              "key": {
                "type": "Identifier",
                "start": 15,
                "end": 18,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 15
                  },
                  "end": {
                    "line": 1,
                    "column": 18
                  },
                  "identifierName": "bar"
                },
                "name": "bar"
              },
              "computed": false,
              "kind": "method",
              "typeParameters": {
                "type": "TypeParameterDeclaration",
                "start": 18,
                "end": 21,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 18
                  },
                  "end": {
                    "line": 1,
                    "column": 21
                  }
                },
                "params": [
                  {
                    "type": "TypeParameter",
                    "start": 19,
                    "end": 20,
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 19
                      },
                      "end": {
                        "line": 1,
                        "column": 20
                      }
                    },
                    "name": "U",
                    "variance": null
                  }
                ]
              },
              "id": null,
              "generator": false,
              "async": false,
              "params": [],
              "predicate": null,
              "returnType": {
                "type": "TypeAnnotation",
                "start": 23,
                "end": 30,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 23
                  },
                  "end": {
                    "line": 1,
                    "column": 30
                  }
                },
                "typeAnnotation": {
                  "type": "NumberTypeAnnotation",
                  "start": 24,
                  "end": 30,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 24
                    },
                    "end": {
                      "line": 1,
                      "column": 30
                    }
                  }
                }
              },
              "body": {
                "type": "BlockStatement",
                "start": 31,
                "end": 45,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 31
                  },
                  "end": {
                    "line": 1,
                    "column": 45
                  }
                },
                "body": [
                  {
                    "type": "ReturnStatement",
                    "start": 33,
                    "end": 43,
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 33
                      },
                      "end": {
                        "line": 1,
                        "column": 43
                      }
                    },
                    "argument": {
                      "type": "NumericLiteral",
                      "start": 40,
                      "end": 42,
                      "loc": {
                        "start": {
                          "line": 1,
                          "column": 40
                        },
                        "end": {
                          "line": 1,
                          "column": 42
                        }
                      },
                      "extra": {
                        "rawValue": 42,
                        "raw": "42"
                      },
                      "value": 42
                    }
                  }
                ],
                "directives": []
              }
            }
          ]
        }
      }
    ],
    "directives": []
  }
}